package com.biz.primus.ms.tms.event;

import com.biz.primus.model.cat.vo.CatVo;
import com.biz.primus.ms.base.event.LocalEvent;
import lombok.ToString;

/**
 *
 * 创建一只新cat的本地事件
 * 本地事件只会在当前应用消费
 *
 * @author yanweijin
 * @date 2017/9/14
 */
@ToString
public class NewCatEvent extends LocalEvent {
	/**
	 * Create a new ApplicationEvent.
	 *
	 * @param source the object on which the event initially occurred (never {@code null})
	 */
	private CatVo catVo;

	public NewCatEvent(Object source, CatVo catVo) {
		super(source);
		this.catVo = catVo;
	}
}
